home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
ada
/
c01oop.zip
/
CPPWKBK
/
CPPV5-4.OUT
< prev
next >
Wrap
Text File
|
1992-08-25
|
565b
|
22 lines
C++ Problem 5.4 by Rick Conn using Borland C++
A = B
A: 2.00000 + 3.00000i
B: 2.00000 + 3.00000i
C: 0.00000 + 0.00000i
A = 5 - 4i
A: 5.00000 + -4.00000i
B: 2.00000 + 3.00000i
C: 0.00000 + 0.00000i
C = A + B
A: 5.00000 + -4.00000i
B: 2.00000 + 3.00000i
C: 7.00000 + -1.00000i
C = A - B
A: 5.00000 + -4.00000i
B: 2.00000 + 3.00000i
C: 3.00000 + -7.00000i
C = A * B
A: 5.00000 + -4.00000i
B: 2.00000 + 3.00000i
C: 22.00000 + 7.00000i